/**************************************************************************
 *                                                                        *
 *         Copyright (c) 2003 by Worldplus Technology Co., Ltd.           *
 *                                                                        *
 *  This software is copyrighted by and is the property of Worldplus      *
 *  Technology Co., Ltd. All rights are reserved by Worldplus Technology  *
 *  Co., Ltd. This software may only be used in accordance with the       *
 *  corresponding license agreement. Any unauthorized use, duplication,   *
 *  distribution, or disclosure of this software is expressly forbidden.  *
 *                                                                        *
 *  This Copyright notice MUST not be removed or modified without prior   *
 *  written consent of Worldplus Technology Co., Ltd.                     *
 *                                                                        *
 *  Worldplus Technology Co., Ltd. reserves the right to modify this      *
 *  software without notice.                                              *
 *                                                                        *
 *  Worldplus Technology Co., Ltd.                                        *
 *  2nd Floor,R2-B,Hi-tech.S,7th Road, Shenzhen High-tech Industrial Park *
 *  Shenzhen, China                                                       *
 *                                                                        *
 *  Author: Joe Zhao                                                      *
 *                                                                        *
 **************************************************************************/
/* Worldplus Joe Zhao   October,10,2009  01:07:57 */
#ifndef _MENU_TAB_H_
#define _MENU_TAB_H_

#include "general.h"
#include "app_menu_api.h"

#define MENU_MARK_STILL		0x01000000
#define MENU_MARK_STILL_FIRST		0x01010000
#define MENU_MARK_TPYE_QUALITY_FIRST		0x01020100
#define MENU_MARK_TPYE_QUALITY_OVER		0x01030000
#define MENU_MARK_WB_FIRST		0x01040100
#define MENU_MARK_WB_OVER		0x01050000
#define MENU_MARK_EXPOSURE_FIRST		0x01050100
#define MENU_MARK_EXPOSURE_OVER		0x01060000
#define MENU_MARK_PV_EFFECT_FIRST		0x01070100
#define MENU_MARK_PV_EFFECT_OVER		0x01080000
#define MENU_MARK_PV_PHOTO_FRAME_FIRST		0x01080100
#define MENU_MARK_PV_PHOTO_FRAME_OVER		0x01090000
#define MENU_MARK_STILL_LAST		0x01090000
#define MENU_MARK_VIDEO		0x02000000
#define MENU_MARK_VIDEO_FIRST		0x02010000
#define MENU_MARK_VIDEO_LAST		0x02040000
#define MENU_MARK_VIDEO_WB_FIRST		0x02040100
#define MENU_MARK_VIDEO_WB_OVER		0x03000000
#define MENU_MARK_AUDIO		0x03000000
#define MENU_MARK_AUDIO_FIRST		0x03010000
#define MENU_MARK_AUDIO_LAST		0x03010000
#define MENU_MARK_AUDIO_OVER		0x03010100
#define MENU_MARK_PLAYBACK		0x04000000
#define MENU_MARK_PLAYBACK_FIRST		0x04010000
#define MENU_MARK_PROTECT_SINGLE_YES		0x04010101
#define MENU_MARK_PROTECT_SINGLE_NO		0x04010102
#define MENU_MARK_PROTECT_ALL_YES		0x04010201
#define MENU_MARK_PROTECT_ALL_NO		0x04010202
#define MENU_MARK_UNPROTECT_ALL_YES		0x04010301
#define MENU_MARK_UNPROTECT_ALL_NO		0x04010302
#define MENU_MARK_DELETE_SINGLE		0x04020100
#define MENU_MARK_DELETE_SINGLE_YES		0x04020101
#define MENU_MARK_DELETE_SINGLE_NO		0x04020102
#define MENU_MARK_DELETE_ALL_YES		0x04020201
#define MENU_MARK_DELETE_ALL_NO		0x04020202
#define MENU_MARK_SLIDE_FIRST		0x04030100
#define MENU_MARK_SLIDE_START		0x04030100
#define MENU_MARK_SLIDE_INTERVAL		0x04030200
#define MENU_MARK_SLIDE_INTERVAL_1S		0x04030201
#define MENU_MARK_SLIDE_INTERVAL_2S		0x04030202
#define MENU_MARK_SLIDE_INTERVAL_3S		0x04030203
#define MENU_MARK_SLIDE_INTERVAL_4S		0x04030204
#define MENU_MARK_SLIDE_INTERVAL_5S		0x04030205
#define MENU_MARK_SLIDE_INTERVAL_6S		0x04030206
#define MENU_MARK_SLIDE_INTERVAL_7S		0x04030207
#define MENU_MARK_SLIDE_INTERVAL_8S		0x04030208
#define MENU_MARK_SLIDE_INTERVAL_9S		0x04030209
#define MENU_MARK_SLIDE_INTERVAL_10S		0x0403020a
#define MENU_MARK_SLIDE_REPEAT		0x04030300
#define MENU_MARK_SLIDE_RPT_YES		0x04030301
#define MENU_MARK_SLIDE_RPT_NO		0x04030302
#define MENU_MARK_SLIDE_OVER		0x04040000
#define MENU_MARK_PB_EFFECT_FIRST		0x04040100
#define MENU_MARK_PB_EFFECT_BW		0x04040100
#define MENU_MARK_PB_EFFECT_SEPIA		0x04040200
#define MENU_MARK_PB_EFFECT_NEGATIVE		0x04040300
#define MENU_MARK_PB_EFFECT_RED		0x04040400
#define MENU_MARK_PB_EFFECT_GREEN		0x04040500
#define MENU_MARK_PB_EFFECT_BLUE		0x04040600
#define MENU_MARK_PB_EFFECT_BINARIZE		0x04040700
#define MENU_MARK_PB_EFFECT_SUNSET		0x04040800
#define MENU_MARK_PB_EFFECT_WARM		0x04040900
#define MENU_MARK_PB_EFFECT_COLD		0x04040a00
#define MENU_MARK_PB_EFFECT_CONTRAST		0x04040b00
#define MENU_MARK_PB_EFFECT_OVER		0x04050000
#define MENU_MARK_PB_DISTORTION_FIRST		0x04050100
#define MENU_MARK_PB_DISTORTION_H_PINCH		0x04050100
#define MENU_MARK_PB_DISTORTION_H_PUNCH		0x04050200
#define MENU_MARK_PB_DISTORTION_V_PINCH		0x04050300
#define MENU_MARK_PB_DISTORTION_V_PUNCH		0x04050400
#define MENU_MARK_PB_DISTORTION_H_STRETCH		0x04050500
#define MENU_MARK_PB_DISTORTION_H_SHRINK		0x04050600
#define MENU_MARK_PB_DISTORTION_V_STRETCH		0x04050700
#define MENU_MARK_PB_DISTORTION_V_SHRINK		0x04050800
#define MENU_MARK_PB_DISTORTION_WAVY		0x04050900
#define MENU_MARK_PB_DISTORTION_HOURGLASS		0x04050a00
#define MENU_MARK_PB_DISTORTION_BUBBLE		0x04050b00
#define MENU_MARK_PB_DISTORTION_BUBBLE_FILL		0x04050c00
#define MENU_MARK_PB_DISTORTION_OVER		0x04060000
#define MENU_MARK_ROTATE_ROTATE		0x04060100
#define MENU_MARK_ROTATE_SAVE		0x04060200
#define MENU_MARK_ROTATE_BACK		0x04060300
#define MENU_MARK_RESIZE		0x04070000
#define MENU_MARK_RESIZE_FIRST		0x04070100
#define MENU_MARK_RESIZE_3M		0x04070100
#define MENU_MARK_RESIZE_1M		0x04070200
#define MENU_MARK_RESIZE_OVER		0x04070300
#define MENU_MARK_RESIZE_VGA		0x04070300
#define MENU_MARK_MEMO_ADD		0x04080100
#define MENU_MARK_MEMO_DELETE		0x04080200
#define MENU_MARK_PLAYBACK_LAST		0x04090000
#define MENU_MARK_STARTUP_IMAGE_YES		0x04090100
#define MENU_MARK_PB_PHOTO_FRAME		0x040a0000
#define MENU_MARK_PB_PHOTO_FRAME_FIRST		0x040a0100
#define MENU_MARK_PB_PHOTO_FRAME_OVER		0x05000000
#define MENU_MARK_PLAYBACK_OVER		0x05000000
#define MENU_MARK_SETUP		0x05000000
#define MENU_MARK_SETUP_FIRST		0x05010000
#define MENU_MARK_SETUP_SOUND		0x05010000
#define MENU_MARK_SOUND_FIRST		0x05010100
#define MENU_MARK_SOUND_OVER		0x05020000
#define MENU_MARK_RTC_INIT		0x05050000
#define MENU_MARK_RTC_FIRST		0x05050100
#define MENU_MARK_RTC_OVER		0x05060000
#define MENU_MARK_LANGUAGE_FIRST		0x05060100
#define MENU_MARK_LANGUAGE_OVER		0x05070000
#define MENU_MARK_TV_NTSC		0x05070100
#define MENU_MARK_TV_PAL		0x05070200
#define MENU_MARK_PICTBRIDGE		0x05080300
#define MENU_MARK_FORMAT_YES		0x050a0100
#define MENU_MARK_FORMAT_NO		0x050a0200
#define MENU_MARK_SETUP_LAST		0x050b0000
#define MENU_MARK_RESET_YES		0x050b0100
#define MENU_MARK_RESET_NO		0x050b0200
#define MENU_MARK_SETUP_OVER		0x06000000
#define MENU_MARK_DPS		0x06000000
#define MENU_MARK_CALIBRATION_MENU		0x07000000
#define MENU_MARK_USB_POWER		0x07010000
#define MENU_MARK_CAL_OB_OFF		0x07020101
#define MENU_MARK_CAL_OB_ON		0x07020102
#define MENU_MARK_CAL_LENS_SHADING_OFF		0x07020201
#define MENU_MARK_CAL_LENS_SHADING_ON		0x07020202
#define MENU_MARK_CAL_GAMMA_OFF		0x07020301
#define MENU_MARK_CAL_GAMMA_ON		0x07020302
#define MENU_MARK_CAL_AE_OFF		0x07020401
#define MENU_MARK_CAL_AE_ON		0x07020402
#define MENU_MARK_CAL_AE_GID		0x07020500
#define MENU_MARK_CAL_AE_GID_START		0x07020501
#define MENU_MARK_CAL_AE_GID_END		0x07020600
#define MENU_MARK_CAL_AWB_OFF		0x07020601
#define MENU_MARK_CAL_AWB_ON		0x07020602
#define MENU_MARK_CAL_SNAP_RAW		0x07030000
#define MENU_MARK_CAL_SNAP_PURE_RAW		0x07040000
#define MENU_MARK_CAL_PV_RAW		0x07050000
#define MENU_MARK_CAL_PV_YUV		0x07060000
#define MENU_MARK_CAL_AE_TEST		0x07070000
#define MENU_MARK_CAL_AE_TEST_1		0x07070100
#define MENU_MARK_CAL_AE_TEST_2		0x07070200
#define MENU_MARK_CAL_AE_TEST_3		0x07070300
#define MENU_MARK_CAL_AE_TEST_SAVE		0x07070400
#define MENU_MARK_CAL_OB		0x07080000
#define MENU_MARK_CAL_AUTO_OB		0x07090000
#define MENU_MARK_PV_OB		0x070a0000
#define MENU_MARK_CAL_AWB		0x070b0000
#define MENU_MARK_CAL_BP		0x070c0000
#define MENU_MARK_CAL_BP_PRV		0x070c0100
#define MENU_MARK_CAL_BP_CAP		0x070c0200
#define MENU_MARK_CAL_BP_ALL		0x070c0300
#define MENU_MARK_FW_UPGRADE		0x070d0000
#define MENU_MARK_AE_CALIBRATION		0x070e0000

#define ID_STR_ENTER		0x0000
#define ID_STR_BACK		0x0001
#define ID_STR_DELETE_THIS_FILE_		0x0002
#define ID_STR_DELETE_ALL_FILE_		0x0003
#define ID_STR_FORMATTING___		0x0004
#define ID_STR_HAS_NO_SIZE_TO_RISIZE_		0x0005
#define ID_STR_FILE_LOCKED_		0x0006
#define ID_STR_PROTECT_FILE_		0x0007
#define ID_STR_UNPROTECT_FILE_		0x0008
#define ID_STR_PROTECT_ALL_		0x0009
#define ID_STR_UNPROTECT_ALL_		0x000a
#define ID_STR_NO_FILE		0x000b
#define ID_STR_NO_CARD_		0x000c
#define ID_STR_REMOVE_CARD_		0x000d
#define ID_STR_CARD_ERROR		0x000e
#define ID_STR_WAITING___		0x000f
#define ID_STR_CARD_LOCKED_		0x0010
#define ID_STR_PAUSE		0x0011
#define ID_STR_REC		0x0012
#define ID_STR_FILE_ERROR_		0x0013
#define ID_STR_PLEASE_PLUG_OUT_CARD		0x0014
#define ID_STR_MEMORY_FULL		0x0015
#define ID_STR_WAITING_FOR_PRINTER		0x0016
#define ID_STR_NO_JPEG		0x0017



extern UINT8 code* code* code CustomMenuPtr[];
extern UINT8 code* code* code CustomStrPtr[];
extern UINT8 code* code CustomIconPtr[];
extern UINT32 code* code CustomMenuRootStart[];
extern UINT32 code* code CustomMenuIndex[];
extern UINT8 code* code CustomMenuItemLength[];
extern UINT8 code* code CustomMenuNodeItem[];
extern UINT8 code* code CustomMenuNodeLength[];
extern UINT8 code* code CustomMenuSubItem[];
extern menufunc code* code CustomMenuFunc[];
extern UINT8 code* code CustomMenuParaTab[];

#define LANGUAGE_TOTAL 3

#endif /* _MENU_TAB_H_ */
